<?hh

class Bar extends Foo {
  public function f(): void {}
}
